package site.timers.game;

public class FireballSkill extends Skill {
    private int damage;

    public FireballSkill() {
        super("火球术", 3, 3, 20);
        this.damage = 20;
    }

    @Override
    public void execute(Character caster, Character target) {
        if (caster.getHealth() > 0) {
            target.takeMagicDamage(damage);
            currentCooldown = cooldown;
        }
    }
}